<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div class="m_left">
	<div class="left_n">用户中心</div>
	<div class="left_m">
		<div class="left_m_t t_bg1">订单中心</div>
		<ul>
			<li><a href="OrderServlet?action=UserOrder&no=${sessionScope.LoginUser.id }">我的订单</a></li>
			<c:if test="${sessionScope.LoginUser.type ==0}">
				<li><a href="OrderServlet?action=showPage">全部订单</a></li>
			</c:if>
		</ul>
	</div>
	<div class="left_m">
		<div class="left_m_t t_bg2">会员中心</div>
		<ul>
			<li><a href="Member.jsp">用户信息</a></li>
			<c:if test="${sessionScope.LoginUser.type ==0}">
				<li><a href="UserListServlet?action=pageShow">用户管理</a></li>
			</c:if>
		</ul>
	</div>
	<c:if test="${sessionScope.LoginUser.type==0 }">
		<div class="left_m">
			<div class="left_m_t t_bg3">商品中心</div>
			<ul>
				<li><a href="CategoryListServlet?action=pageShow">分类管理</a></li>
				<li><a href="ProductListServlet?action=pageShow">商品管理</a></li>
				<li><a href="ProductListServlet?action=update">新增商品</a></li>
			</ul>
		</div>
	</c:if>
	<div class="left_m">
		<div class="left_m_t t_bg2">资讯中心</div>
		<ul>
			<li><a href="NewsListServlet">新闻列表</a></li>
		</ul>
	</div>
</div>